package com.eportal.service;

import java.io.File;
import java.util.Map;

import com.eportal.action.background.pojo.Page;
import com.eportal.domain.LifeResource;

public interface LifeResourceService {

	LifeResource add(LifeResource lifeResource) throws Exception;

    void update(LifeResource lifeResource);

    void delete(long id);

    Page find(String where, Page page);

    LifeResource get(long id);

	Map<String, Object> addMethod(LifeResource lifeResource);
	
	Map<String, String> getBySql(Long sid);

	Map<String, Object> updateMethod(LifeResource lifeResource);

	Map<String, Object> picCutUpload(File file, String fileName, String putData, String path);

}
